package com.heima.article.service;

import com.heima.model.article.pojos.ApArticle;
import org.springframework.scheduling.annotation.Async;

public interface ApArticleStaticHtml {

    /**
     * 发布文章时生成静态页面
     * @param apArticle
     * @param content
     */
    @Async
    public void buildApArticleStaticHtml(ApArticle apArticle,String content);
}
